var extendRouter = null;
export default {
  isDebugMode() {
    return true; // true开发版本，false正式版本
  },

  getDebugServer() {
    return 2; // 3新正式服务器，2开发服务器，1正式服务器
  },

  getThemeType() {
    return "normal";
  },

  getExtendRouter() {
    return extendRouter;
  },

  getMapKey() {
    return "a82c2c272f465beb523a200041cd7cb8";
  },

  fixNodeUrl(url) {
    return "https://debug.xtingcloud.com" + url;
  },

  fixApiUrl(url) {
    return "https://apitest.xtingcloud.com" + url + "_test";
  },

  fixPhotoUrl(url) {
    return "https://apitest.xtingcloud.com" + url + "_test";
  },

  fixSocketUrl(url) {
    return "wss://apitest.xtingcloud.com" + url + "_test";
  },

  fixWsUrl(url) {
    return "wss://apitest.xtingcloud.com" + url + "_test";
  },

  getWebUrl() {
    return this.fixNodeUrl("/client/park/");
  },

  getResUrl() {
    return this.fixNodeUrl("/res");
  },

  getDemandUrl() {
    return this.fixNodeUrl("/api/park");
  },

  getNetHeadUrl() {
    return this.fixApiUrl("/zk_api");
  },

  getReportHeadUrl() {
    return this.fixApiUrl("/zk_report");
  },

  getLocalHeadUrl() {
    return "http://172.16.3.248:8080/aiopc";
  },

  getYlocalHeadUrl() {
    return this.fixApiUrl("/zk_local");
  },

  getCapitalHeadUrl() {
    return this.fixApiUrl("/zk_etherscan");
  },

  getRosideudpHeadUrl() {
    return this.fixApiUrl("/zk_rosidetcp");
  },

  getSmsHeadUrl() {
    return this.fixApiUrl("/zk_sms");
  },

  getAuditHeadUrl() {
    return this.fixApiUrl("/zk_auditing");
  },

  getSpacelockHeadUrl() {
    return this.fixApiUrl("/zk_spacelock");
  },

  getPhotoHeadUrl() {
    return this.fixPhotoUrl("/zk_photo");
  },
  getPhotoHeadUrlCheck() {
    return this.fixPhotoUrl("/zk_photo_check");
  },
  getMessageHeadUrl() {
    return this.fixPhotoUrl("/zk_message");
  }
}